package com.usefullc.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.usefullc.system.entity.BaseEntity;
import com.usefullc.system.validator.UsefulPropertyVerify;
import com.usefullc.system.validator.UsefulValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: Sampson
 * @date: 2022-01-09 09:54
 */
@ApiModel
@TableName("sys_data_config")
@Data
public class DataConfig   extends BaseEntity {

    @UsefulPropertyVerify(required = true,minLen = 1,maxLen = 50)
    @ApiModelProperty(notes = "编码")
    private java.lang.String code;

    @UsefulPropertyVerify(required = true,minLen = 1,maxLen = 50)
    @ApiModelProperty(notes = "值")
    private java.lang.String value;

    @UsefulPropertyVerify(minLen = 3,maxLen = 500)
    @ApiModelProperty(notes = "描述")
    private java.lang.String description;

    @ApiModelProperty(notes = "是否启用")
    private java.lang.Boolean enable;

}
